package IO.序列化.io1;

public class 读取classpath资源 {
	public static void main(String[] args) {
		System.out.println(System.getProperty("java.class.path"));
      System.out.println(读取classpath资源.class.getResource(""));
      System.out.println(读取classpath资源.class.getResource("/"));
      System.out.println(读取classpath资源.class.getClassLoader().getResource(""));
      
      System.out.println(ClassLoader.getSystemResource(""));
      System.out.println(Thread.currentThread().getContextClassLoader().getResource(""));
	}
}
